<template>
  <div>
    <ul>
      <li v-for="item in messages">{{ item }}</li>
    </ul>
  </div>
</template>

<script>
export default {
  name: "HomeMessage",
  data() {
    return {
      messages: ["消息1", "消息2", "消息3", "消息4"],
    };
  },
};
</script>